package java_learn.java_jinjie.ThreadSafe;

/**
 * @Author: 李浩然
 * @Date: 2021/2/24 12:49 下午
 */
public class DemoTicketTest {
    public static void main(String[] args) {
        Runnable r = new RunnableTest();
        Thread t1 = new Thread(r);
        Thread t2 = new Thread(r);
        Thread t3 = new Thread(r);
        t1.start();
        t2.start();
        t3.start();
    }
}
